/*
 * @Author: your name
 * @Date: 2021-12-25 09:14:54
 * @LastEditTime: 2021-12-30 09:50:29
 * @LastEditors: hyman
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \shop\src\api\user\address.js
 */
//引入封装的公共的请求接口文件
import {GET, POST, UPLOAD} from '@/services/request.js'

export default {
    AddressIndex(data = {}){
        return POST({
            url: '/user/address/index',
            params: data
        })
    },
    AddressCheck(data = {}){
        return POST({
            url: '/user/address/check',
            params: data
        })
    },
    AddressAdd(data = {}){
        return POST({
            url: '/user/address/add',
            params: data
        })
    },
    AddressInfos(data = {}){
        return POST({
            url: '/user/address/info',
            params: data
        })
    },
    AddressUpdate(data = {}){
        return POST({
            url: '/user/address/update',
            params: data
        })
    },
    AddressDelete(data = {}){
        return POST({
            url: '/user/address/delete',
            params: data
        })
    },
    AddressOrder(data = {}){
        return POST({
            url: '/user/address/order',
            params: data
        })
    }
}